package marker.micro.gateway.cnf;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

import marker.micro.gateway.filter.GetRequestAccessTokenFilter;
import marker.micro.gateway.filter.ServiceFallbackProvider;

@Configuration
public class CustomZuulFilterConfiguration {

    @Bean
    public GetRequestAccessTokenFilter getRequestAccessTokenFilter() {
	return new GetRequestAccessTokenFilter();
    }
    
    @Bean
    public ServiceFallbackProvider fallBack() {
	return new ServiceFallbackProvider();
    }

//    @Bean
//    public AccessFilter accessFilter() {
//	return new AccessFilter();
//    }
    
}
